package com.wgu.crawl2.repo;

import com.wgu.xbqg.XBQGChapter;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: w
 * @Date: 2019/6/28 10:10
 * @Version 1.0
 */
@Repository
public interface XBQGChapterRepository extends JpaRepository<XBQGChapter,Long>{
    List<XBQGChapter> findByBookId(Long bookId);
}
